package com.link.base.base.user.dao.mybatis.mapper;

import com.link.base.base.user.model.LoginLog;
import com.link.core.basic.dao.mapper.BasicMapper;

/**
 * @author unknown
 * @date unknown
 * @comments 登录日志
 */
public interface LoginLogMapper extends BasicMapper<LoginLog> {
    /**
     * 添加登录成功记录
     *
     * @param loginLog
     * @throws Exception
     */
    public void addLoginSuccessLog(LoginLog loginLog) throws Exception;

    /**
     * 添加登录失败记录
     *
     * @param loginLog
     * @throws Exception
     */
    public void addLoginFailLog(LoginLog loginLog) throws Exception;

}
